IAxis.MoveVelocity 方法

命令一个永不停止的控制运动以指定的速度移动。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IMoveVelocityCommand MoveVelocity(
       double velocity,
       double acceleration,
       double deceleration,
       double jerk,
       McDirection direction,
       McBufferMode bufferMode
)
Function MoveVelocity(
       velocity As Double,
       acceleration As Double,
       deceleration As Double,
       jerk As Double,
       direction As McDirection,
       bufferMode As McBufferMode
)As IMoveVelocityCommand

参数

velocity

型别:double

指定速度的值。[单位/秒]

 

acceleration

型别:double

加速度值,单位由 McProfileType 决定(增加马达电量)。[单位/秒2] 或 [秒]

 

deceleration

型别:double

减速度值,单位由 McProfileType 决定(减少马达电量)。[单位/秒2] 或 [秒]

 

jerk

型别:double

加加速度值,单位由 McProfileType 决定。[单位/秒3] 或 [秒]

 

direction

型别:McDirection

轴的移动方向。无法使用 mcShortestWay

 

bufferMode

型别:McBufferMode

定义如何融合两方法的速度。

回传值

型别:IMoveVelocityCommand

回传一个速度移动的属性。

备注

参见

IAxis 介面

IntervalZero.KINGSTAR.Base.Class 命名空间